package com.yuwei.module_patrol.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.Res
import com.bw.lib_http.Const
import com.yuwei.http.entity.PatrolEntity
import com.yuwei.http.entity.PatrolPointsEntity
import retrofit2.http.GET

interface PatrolApiServer : BaseApiServer{
    @GET(Const.GET_PATROL_TASKS_URL)
    suspend fun getPatrolList() : Res<PatrolEntity>
    @GET(Const.GET_PATROL_POINTS_URL)
    suspend fun getPatrolPoints() : Res<PatrolPointsEntity>
}